package pl.edu.agh.io.sylvia.entity;


public class Server extends DBObject {
	private String name;
	private String host;
	private String login;
	private String password;
	private short port;
	
	public Server(Integer id, String name, String host, String login,
			String password, short port) {
		super(id);
		this.name = name;
		this.host = host;
		this.login = login;
		this.password = password;
		this.port = port;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public short getPort() {
		return port;
	}

	public void setPort(short port) {
		this.port = port;
	}
}
